
Gem::Specification.new do |s|
  s.name = "uhferret"
  s.platform = Gem::Platform::RUBY
  s.author = "Peter Lane"
  s.version = "1.3.7"
  s.email = "peterlane@gmx.com"
  s.homepage = "https://peterlane.netlify.app/ferret/"
  s.summary = "UHFerret is a copy-detection tool."
  s.license = "GPL-3.0+"
  s.description = <<-END
UHFerret is a copy-detection tool to analyse large sets of documents 
to find pairs of documents with substantial amounts of lexical copying. 
Documents containing either natural language (e.g. English) or computer 
programs (in C-family) may be processed.  
END
  s.files = [
    "COPYING.txt",
    "README.rdoc",
    "ext/extconf.rb",
    "ext/document.cpp",
    "ext/documentlist.h",
    "ext/tokenreader.h",
    "ext/tupleset.cpp",
    "ext/document.h",
    "ext/tokenset.cpp",
    "ext/tupleset.h",
    "ext/documentlist.cpp",
    "ext/tokenreader.cpp",
    "ext/tokenset.h",
    "ext/uhferret_lib_wrap.cxx",
    "lib/uhferret.rb",
    "lib/utils.rb",
    "lib/webferret.rb"
  ] 
  s.extensions = ["ext/extconf.rb"]
  s.require_path = "lib"
  s.extra_rdoc_files = ["README.rdoc", "COPYING.txt"]
  s.rdoc_options << '-m' << 'README.rdoc'
  s.executables << "uhferret"
  s.executables << "uhferret-server"
  s.required_ruby_version = '>= 2.5'
end

